package com.zpf.task;

import lombok.extern.slf4j.Slf4j;
import org.quartz.JobExecutionContext;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.stereotype.Component;

/**
 * @ClassName: ScheduleTask
 * @Description: 调度的任务
 * @Autor: ZPF
 * @Date: 2021/1/14 10:08
 **/
@Slf4j
@Configuration
@Component("testScheduleTask")
@EnableScheduling
public class ScheduleTask {

    public void sayHello(JobExecutionContext context){
        System.out.println("====    sayHello 123456789    ====");
    }

}
